@import "base/variables";

.layout-container{

    .layout-header-container{
        position: fixed;
        width: 100%;
        height: 50px;
        background: $header-bg;
        z-index: 1101;
        color: #fff;
        overflow: hidden;
    }

    .layout-body-container{
        position: absolute;
        width: 100%;
        top: 50px;
        bottom: 0px;

        &.hideSidebar {
            .layout-body-sidebar-container{
                width:$sidebarCollapseWidth;
                overflow: inherit;
                .sidebar-toggle{
                    width:$sidebarCollapseWidth;
                    overflow: inherit;
                }
            }
            .layout-body-content-container {
                margin-left: $sidebarCollapseWidth;
            }
        }

        .layout-body-sidebar-container{
            background: #1f2d3d;
            transition: width 0.28s ease-out;
            width: $sidebarWidth;
            padding-top: 50px;
            padding-bottom: 40px;
            color: #aeb9c2;
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            z-index: 1001;
            overflow-y: auto;
            &::-webkit-scrollbar {display:none}
        }

        .layout-body-content-container{
            min-height: 100%;
            transition: margin-left 0.28s ease-out;
            margin-left: $sidebarWidth;
            box-sizing: border-box;
            padding: 10px;

            .content-wrapper{
                padding: 10px;
                border: 1px solid #e9eaec;
                background: #fff;
                border-radius: 4px;
                font-size: 14px;
                position: relative;
                transition: all .2s ease-in-out;
            }
        }
    }
}



